<!doctype html>
<html>
<head>
<meta charset=UTF-8>
<script type="text/javascript"
	src="http://localhost:8888/jquery-1.6.4.min.js"></script>
<script type="text/javascript">
setInterval(poll, 5000);
function poll() {
	var msg = $("#iframe").get(0).contentWindow.$("#message").val();
	console.log(msg);
}
</script>
</head>
<body>
	<input type="text" id="text" size="100" />
	<div>
		<iframe id="iframe" src="http://localhost:8888/test/channelTest"></iframe>
	</div>
</body>
</html>
